package org.testmyapp.entities;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;

import org.testmyapp.persistence.ConfigObjectMarker;

@Entity
@IdClass(value = TaskWorkerUIBeanPk.class)
public class TaskWorkerUIBean implements ConfigObjectMarker {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3862860010470499274L;
	
	@Id
	private String processDefinitionKey;
	@Id
	private String taskDefinitionKey;
	private String bean;
	
	public String getProcessDefinitionId() {
		return processDefinitionKey;
	}
	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionKey = processDefinitionId;
	}
	public String getTaskDefinitionId() {
		return taskDefinitionKey;
	}
	public void setTaskDefinitionId(String taskDefinitionId) {
		this.taskDefinitionKey = taskDefinitionId;
	}
	public String getBean() {
		return bean;
	}
	public void setBean(String bean) {
		this.bean = bean;
	}
	
}
